package com.hewep.demo.device.mina.core;

import org.apache.mina.core.session.IoSession;

public abstract class Controller {
	private IoSession session;
	private Request request;
	private Response response;
	
	void init(IoSession session,Request request,Response response){
		this.session = session;
		this.request = request;
		this.response = response;
	}
	
	
	
	public Request getRequest() {
		return request;
	}

	public Response getResponse() {
		return response;
	}
	public IoSession getSession(){
		return this.session;
	}
}
